package StudyCode.summary.mycollection;

import java.util.Hashtable;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class RemoveValueFromHashtable {
	public static void main(String[] args) {
		Hashtable ht = new Hashtable();
		ht.put("1", "One");
		ht.put("2", "Two");
		ht.put("3", "Three");

		System.out.println("清除值前，Hashtable : " + ht);
		ht.remove("2");
		System.out.println("清除值前，Hashtable : " + ht);
	}
}
